#include "NetworkBase.h"
/***************************************************
 * mode name:NetworkBase
 * brief:网络接口，纯虚，在派生类中实现功能
 * @author yxt
 * @created 2025/01/20 09:45:01
 * @imfor ~/bigSystem/closedLoop_regulation/src/NetworkBase.cpp
 * @modify:
 * 		
***************************************************/
NetworkBase::NetworkBase(){

}

NetworkBase::~NetworkBase(){

}

uint8_t NetworkBase::networkClear(){
    trainNetwork.clear();
    singleTrialnNetwork.clear();
    return trainNetwork.n_elem > singleTrialnNetwork.n_elem ? trainNetwork.n_elem : singleTrialnNetwork.n_elem;
}

uint8_t NetworkBase::trainNetworkClear(){
    trainNetwork.clear();
    return trainNetwork.n_elem;
}
